package com.ysd.entity;


public class Newscategory {
	private int newsCategoryid;
	private String newsCategoryName;
	public int getNewsCategoryid() {
		return newsCategoryid;
	}
	public void setNewsCategoryid(int newsCategoryid) {
		this.newsCategoryid = newsCategoryid;
	}
	public String getNewsCategoryName() {
		return newsCategoryName;
	}
	public void setNewsCategoryName(String newsCategoryName) {
		this.newsCategoryName = newsCategoryName;
	}
	public Newscategory(int newsCategoryid, String newsCategoryName) {
		super();
		this.newsCategoryid = newsCategoryid;
		this.newsCategoryName = newsCategoryName;
	}
	public Newscategory() {
		super();
	}
	@Override
	public String toString() {
		return "Newscategory [newsCategoryid=" + newsCategoryid + ", newsCategoryName=" + newsCategoryName + "]";
	}
	
	
	
}
